package com.hsxc.cdz.trans.payment.gzhpay;

public class ConstantUtil {
	/**
	 * 商家可以考虑读取配置文件
	 */

	// 公众号支付常亮参数
	public static String APP_ID_GZH = "wx1ae546982c5e0b27";// 微信分配的公众账号ID
	public static String MCH_ID = "1362151902";// 设置商户号
	public static String UNIFORMORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";// 获取预支付id的接口url
	public static String NOTIFYURL = "http://ttht-op.cn/api/paymentCallback.do";// 通知的URL
	public static String APP_KEY_GZH = "wpfeibjy1065yuanjiangbeingifeiei";
	// app支付常量参数
	public static String MCH_ID_APP = "1382062902";
	public static String PARTERID = "1382062902";// 就是商户号
	public static String APP_ID_APP = "wx5c85555e44807d98";
	public static String APP_KEY_APP = "TTHT2016HSXC2016hsxc2016ttht2016";
	//public static String NOTIFYURL_APP = "http://122.228.19.59:18110/app/paymentappcallback.do";// 调试通知的URL
	public static String NOTIFYURL_APP = "http://ttht-op.cn/app/paymentappcallback.do";// 通知的URL
	// 应用对应的密钥

	public static String PARTNER = "1900000109";// 财付通商户号
	public static String PARTNER_KEY = "8934e7d15453e97507ef794cf7b0519d";// 商户号对应的密钥
	public static String TOKENURL = "https://api.weixin.qq.com/cgi-bin/token";// 获取access_token对应的url
	public static String GRANT_TYPE = "client_credential";// 常量固定值
	public static String EXPIRE_ERRCODE = "42001";// access_token失效后请求返回的errcode
	public static String FAIL_ERRCODE = "40001";// 重复获取导致上一次获取的access_token失效,返回错误码
	public static String ACCESS_TOKEN = "access_token";// access_token常量值
	public static String ERRORCODE = "errcode";// 用来判断access_token是否失效的值
	public static String SIGN_METHOD = "sha1";// 签名算法常量值
	// package常量值
	public static String packageValue = "bank_type=WX&body=%B2%E2%CA%D4&fee_type=1&input_charset=GBK&notify_url=http%3A%2F%2F127.0.0.1%3A8180%2Ftenpay_api_b2c%2FpayNotifyUrl.jsp&out_trade_no=2051571832&partner=1900000109&sign=10DA99BCB3F63EF23E4981B331B0A3EF&spbill_create_ip=127.0.0.1&time_expire=20131222091010&total_fee=1";
	public static String traceid = "testtraceid001";// 测试用户id
}
